import Vue from "vue";
import App from "./App.vue";
import router from "@/router";
import store from "@/store";
import toast from "@/components/common/toast";
//解决移动端300ms延迟
import FastClick from "fastclick";
FastClick.attach(document.body);
//图片懒加载
import vueLazyload from "vue-lazyload";
Vue.config.productionTip = false;

Vue.use(toast);
Vue.use(vueLazyload, {
  loading: require("assets/img/imgLoad/load.gif"),
});
new Vue({
  render: (h) => h(App),
  router,
  store,
}).$mount("#app");
